package com.fudan.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreOpenRequest {
    private String storeOpenRequestId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date initiateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date processTime;
    private String userId;
    private String storeName;
    private List<String> category;
    private String idCardNumber;
    private String storeProfile;
    private String filingAddress;
    private Double registeredCapital;
    private List<String> pictures;
    private Integer status;//0 表示未开业, 1 表示已开业 ，2 表示 已关店
    private String info;
}
